<div class='fui-page  fui-page-current order-comment-page'>
  <div class="jy2-headertopbg">
			<div class="fui-header" style="background:none">
				<div class="fui-header-left">
					<a class="back" style="color:#fff" href="javascript:" ng-click="goback()"></a>
				</div>
				<div class="title bold" style="font-size:1rem;color:#fff">打卡提交</div>
				<div class="fui-header-right" style="padding-right:0.5rem;color:#fff">
					
				</div>
			</div>
  </div>
  <div class='fui-content jy2-headertop' style="padding:0 0.5rem;margin-bottom:1rem">
	<div ng-if="!pagedata.canadd" style="background:#fff;border-radius:0.5rem;padding:0.5rem 0;margin-top:0.5rem">
		<div class="content-empty" style="margin-bottom: 2rem;">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 2rem;"></i>
		  <br/>
		  <p style="color: #999;font-size: .75rem">当前无法打卡，总共可打卡<red>{{pagedata.isadd}}</red>次；您已打卡<red>{{pagedata.isadd}}</red>次（待审核<red>{{pagedata.status0}}</red>次，已审核<red>{{pagedata.status1}}</red>次，不通过<red>{{pagedata.status2}}</red>次）！！</p>
		</div>
	</div>
	<div ng-if="pagedata.canadd" style="background:#fff;border-radius:0.5rem;padding:0.5rem 0;margin-top:0.5rem">
		<div class="fui-cell-group" style="margin-top:0">
		<div ng-if="pagedata.item.type==0" class="fui-cell">
			<div class="fui-cell-info">发图打卡</div>
		 </div>
		<div ng-if="pagedata.item.type==0" class="weui_cells weui_cells_form" style="margin-top:0">
						<div class="weui_cell" style="padding-top:0">
							<div class="weui_cell_bd weui_cell_primary">
								<div class="weui_uploader">
									<div class="weui_uploader_bd">
										<ul class="weui_uploader_files">
											<li ng-repeat="p in pagedata.post.images track by $index" class="weui_uploader_file" style="background-image:url({{tomedia(p)}})">
												<div class="upbtn" >
													<a style="color:#f60" href="javascript:;" ng-click="pagedata.post.images.splice($index-1,0,p);pagedata.post.images.splice($index+1,1)">上移</a>
													<a style="color:#f60" href="javascript:;" ng-click="pagedata.post.images.splice($index,1)">删除</a>
												</div>
											</li>
										</ul>
										<div class="weui_uploader_input_wrp" href="javascript:;" ng-click="images(pagedata.post,'images')">
										</div>
									</div>
								</div>
							</div>
						</div>
		</div>
	 </div>
	 <button ng-if="pagedata.item.type!=3" class="weui_btn weui_btn_primary" style="margin: auto;margin-top:1rem;width:60%;" ng-click="post(pagedata.post,'submit','','message')">打卡提交</button>
	 <button ng-if="pagedata.item.type==3" class="weui_btn weui_btn_primary" style="margin: auto;margin-top:1rem;width:60%;" ng-click="access_json('jy_vote/o_detail//id='+pagedata.item.vote_oid);">前往投票打卡</button>
  </div>
  <div class="content-block content-images" style="padding:0.5rem;background:#fff" ng-bind-html="trust(pagedata.item.content)"></div>
</div>
</div> 